package com.tancire.net.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.tancire.common.annotation.Excel;
import com.tancire.common.core.domain.BaseEntity;

/**
 * 会员认证对象 net_user_personnel
 *
 * @author tancire
 * @date 2024-03-09
 */
public class NetUserPersonnel extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 所属会员 */
    private Long userId;

    /** 所属会员 */
    @Excel(name = "所属会员")
    private String userAccount;

    /** 是否账号实名人 */
    @Excel(name = "是否账号实名人")
    private Integer asyncUser;

    /** 头像 */
    @Excel(name = "头像")
    private String realHeadImg;


    /** 真实姓名 */
    @Excel(name = "真实姓名")
    private String realName;

    /** 生日 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "生日", width = 30, dateFormat = "yyyy-MM-dd")
    private Date birthday;

    /** 性别 */
    @Excel(name = "性别")
    private Integer sex;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String phone;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String cardNo;

    /** 认证状态 0 否 1 是 */
    @Excel(name = "认证状态 0 否 1 是")
    private Integer authStatus;

    /** 认证类型 */
    @Excel(name = "认证类型")
    private String authType;

    /** 认证行业 */
    @Excel(name = "认证行业")
    private String authCategory;

    /** 认证等级 */
    @Excel(name = "认证等级")
    private String authLevel;

    /** 0 正常  1 删除  真删除，字段保留 */
    private Integer delFlag;

    public String getUserAccount() {
        return userAccount;
    }

    public void setUserAccount(String userAccount) {
        this.userAccount = userAccount;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }
    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getUserId() {
        return userId;
    }
    public void setAsyncUser(Integer asyncUser) {
        this.asyncUser = asyncUser;
    }

    public Integer getAsyncUser() {
        return asyncUser;
    }
    public void setRealHeadImg(String realHeadImg) {
        this.realHeadImg = realHeadImg;
    }

    public String getRealHeadImg() {
        return realHeadImg;
    }
    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getRealName() {
        return realName;
    }
    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public Date getBirthday() {
        return birthday;
    }
    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public Integer getSex() {
        return sex;
    }
    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPhone() {
        return phone;
    }
    public void setCardNo(String cardNo) {
        this.cardNo = cardNo;
    }

    public String getCardNo() {
        return cardNo;
    }
    public void setAuthStatus(Integer authStatus) {
        this.authStatus = authStatus;
    }

    public Integer getAuthStatus() {
        return authStatus;
    }
    public void setAuthType(String authType) {
        this.authType = authType;
    }

    public String getAuthType() {
        return authType;
    }
    public void setAuthCategory(String authCategory) {
        this.authCategory = authCategory;
    }

    public String getAuthCategory() {
        return authCategory;
    }
    public void setAuthLevel(String authLevel) {
        this.authLevel = authLevel;
    }

    public String getAuthLevel() {
        return authLevel;
    }
    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("asyncUser", getAsyncUser())
            .append("realHeadImg", getRealHeadImg())
            .append("realName", getRealName())
            .append("birthday", getBirthday())
            .append("sex", getSex())
            .append("phone", getPhone())
            .append("cardNo", getCardNo())
            .append("authStatus", getAuthStatus())
            .append("authType", getAuthType())
            .append("authCategory", getAuthCategory())
            .append("authLevel", getAuthLevel())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
